package Month07.day09;

import java.util.Scanner;

public class bianli1 {
    public static void main(String[] args) {
        System.out.println("输入你要的数组");
        Scanner scanner = new Scanner(System.in);
        String sc = scanner.nextLine();
        char[] chars = sc.toCharArray();//存入数组中.
        for (int i = 0; i < sc.length(); i++) {//再遍历数组。
            System.out.println(chars[i]);
        }
    }
}
